package edu.jptest.util;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

public class AuthMail extends Authenticator {
	String username = "";
	String password = "";

	public AuthMail(String username, String password) {
		this.username = username;
		this.password = password;
	}

	public PasswordAuthentication getPasswordAuthentication() {
		return new PasswordAuthentication(username, password);
	}
}
